﻿using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using uTrade.Data;

namespace uTrade.Views
{
    /// <summary>
    /// FavoriteView.xaml 的交互逻辑
    /// </summary>
    public partial class FavoriteView : UserControl
    {
        private List<Rank> lstRankFacorite = new List<Rank>();
        //GetFundEquityInfo getMyEquuity = new GetFundEquityInfo();

        public FavoriteView()
        {
            InitializeComponent();
        }

        private void Grid_Loaded(object sender, RoutedEventArgs e)
        {
            //lstRankFacorite = GetFundEquityInfo.GetFavoriteRankList();

            dg_Favoriate.ItemsSource = lstRankFacorite;
        }

        private void btn_Favorite_Click(object sender, RoutedEventArgs e)
        {
        }

        private void DetailGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            DataGrid dgSender = sender as DataGrid;
        }
    }
}